<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
	<meta content="text/html; charset=UTF-8" http-equiv="content-type">
	<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
	
	<title>Dreambox AutoTimerEditor</title>
	
	<link href="/autotimereditor/style_modern.css" type="text/css" rel="stylesheet">
	<link rel="shortcut icon" type="/web-data/image/x-icon" href="/web-data/img/favicon.ico">
	<!--
	<script type="text/javascript" src="/web-data/lib/prototype.js"></script>
	<script type="text/javascript" src="/web-data/lib/curvycorners.js"></script>
	<script type="text/javascript" src="/web-data/lib/trimpath-template-1.0.38.js"></script>
	<script type="text/javascript" src="/web-data/lib/hashlistener2.js"></script>
	<script type="text/javascript" src="/web-data/lib/datepicker/datepicker.js">
	{
		"nodrag":1,
		"lang":"en",
		"buttontabindex":true,
		"cellformat":["Y-ds-m-ds-d"],
		"titleformat":["Y-ds-m-ds-d"]
	}
	</script>
	-->
	<script type="text/javascript" src="/web-data/lib/libs_minified.js">
	{
		"nodrag":1,
		"lang":"en",
		"buttontabindex":true,
		"cellformat":["Y-ds-m-ds-d"],
		"titleformat":["Y-ds-m-ds-d"]
	}
	</script>
	<script language="javascript" type="text/javascript">
	 	if (!window.$) {
			window.$ = function(id) { return document.getElementById(id); }
		}

		function getAjaxLoad(){
			return ('<center><img style="padding-top: 50px;" src="/web-data/gfx/ajaxload.gif" alt="loading..."></center>');
		}
	</script>
	<!-- Webinterface Stuff -->
	<script type="text/javascript" src="/web/strings.js"></script>
	<script type="text/javascript" src="/web-data/userprefs.js"></script>
	<script type="text/javascript" src="/web-data/statics.js" ></script>
	<script type="text/javascript" src="/web-data/helpers.js" ></script>
	<script type="text/javascript" src="/web-data/provider.js" ></script>
	<script type="text/javascript" src="/web-data/handler.js" ></script>
	<script type="text/javascript" src="/web-data/core.js" ></script>

	<!-- autotimereditor stuff -->
	<link type="text/css" rel="stylesheet" href="/autotimereditor/anytimec.css" />
	<link type="text/css" rel="stylesheet" href="/autotimereditor/autotimereditor_style.css?version=20141106"  >
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript">$.noConflict();</script>
	<script type="text/javascript" src="/autotimereditor/anytimec.js" ></script>
	<script type="text/javascript" src="/autotimereditor/autotimereditor.js?version=20150213" ></script>
	
</head>
<body onload="document.getElementById('notification').style.display='none'">
	<div id="container">
		<div id="banner" class="rounded">
			<span id="notification" style="display: none;"><div></div></span>
			<div id="bannerLeft_autotimereditor">
				<div id="ajaxLoad" style="display:none;"></div>
				<div id="bannerText" style="font-size: 24px;">
					<div class="bannerHeader_autotimereditor"></div>
				</div>
				<ul id="mainMenu">
					<div id="contentAutoTimerMenu"></div>
				</ul>
			</div>

		</div>

		<div id="main">
			<div id="navContainer" class="container">
				<div id="nav">
					<div id="navHd" class="header">
						<div class="headerindent">AutoTimer List</div>
					</div>
					<div id="contentAutoTimerList"></div>
				</div>
			</div>
			<div id="contentContainer" class="container">
				<div id="content">
					<div id="contentHd" class="header">
						<div id="headerautotimercontent" class="headerindent">AutoTimer</div>
					</div>
					<div id="contentAutoTimerContent"></div>
				</div>
			</div>
		</div>

	</div>

	<script language="JavaScript">

		// Read get parameters
		HTTP_GET_VARS=new Array();
		strGET=document.location.search.substr(1,document.location.search.length);
		if(strGET!=''){
	    gArr=strGET.split('&');
	    for(i=0;i<gArr.length;++i){
	      v='';vArr=gArr[i].split('=');
	      if(vArr.length>1){v=vArr[1];}
	      HTTP_GET_VARS[unescape(vArr[0])]=unescape(v);
		  }
		}

		function GET(v){
			if(!HTTP_GET_VARS[v]){return '';}
			return HTTP_GET_VARS[v];
		}

		// Instantiate the AutotimerEditor
		var atTemplateEngine = new TemplateEngine('/autotimereditor/');
		autotimereditorcore = new AutoTimerEditorCore(GET('name'), GET('servicename'), GET('servicereference'), GET('from'), GET('to'));
	</script>

</body>
</html>